package org.slusk.thynwor.test;

import org.slusk.thynwor.neat.ActivatableNet;

public class GenericNetFacade implements ActivatableNet {

	private final int numOutputs;
	
	public GenericNetFacade(int numOutputs) {
		this.numOutputs = numOutputs;
	}
	
	public double[] activate(double[] inputs) {
		double[] vals = new double[numOutputs];
		for (int i = 0; i < vals.length; i++) 
			vals[i] = Math.random();
		return vals;
	}

	public String getName() {
		return "Generic Net Facade";
	}


	public String getDescription() {
		return "For testing only.";
	}


	public int getNumInputNodes() {
		return -1;
	}


	public int getNumOutputNodes() {
		return numOutputs;
	}

	public Object getNetwork() {
		// TODO Auto-generated method stub
		return null;
	}
}
